package org.sn.jdish.designmode.state;

/**
 * 环境变量
 * 
 * @author snzigod@hotmail.com
 *
 */
public class CarContext {

	private CarState carState;

	public CarState getCarState() {
		return carState;
	}

	public void setCarState(CarState carState) {
		this.carState = carState;
	}

	public void action() {
		carState.action();
	}

}
